package edu.huangke.cglibTest;

public class CglibTest {

    public static void main(String[] args) {
        CglibProxy cglibProxy = new CglibProxy();

        UserDao2 userDao2 = new UserDao2();

        UserDao2 userDao21 = (UserDao2) cglibProxy.createProxy(userDao2);

        userDao21.saveUser();
        userDao21.deleteUser();
    }
}
